import request from '@/utils/request'
// 试卷增删改查
export default {
  /**
   *查询试卷
   */
  getsoullist() {
    return request({
      url: '/soul/getsoullist',
      method: 'get'
    })
  },
  /**
   *删除试卷
   */
  deleteSoulId(soulId) {
    return request({
      url: `/soul/deletesoulid?soulId=${soulId}`,
      method: 'get'
    })
  },
  /**
   *添加试卷
   */
  addSoul(soul) {
    return request({
      url: '/soul/addsoul',
      method: 'post',
      data: soul//name:string id:string
    })
  },
  /**
   *修改试卷
   */
  updateSoul(soul) {
    return request({
      url: '/soul/updatesoul',
      method: 'post',
      data: soul//  soulId:string,level:string,name:string
    })
  }
}
